Skip to content

Conversation

TimPietrusky
Copy link
Member

No description provided.

@TimPietrusky TimPietrusky requested a review from 2xAA November 9, 2021 20:05
@TimPietrusky TimPietrusky changed the title Feat/isf audio refactor(isf-audio): proper error handling that actually works Nov 10, 2021
@@ -55,9 +55,8 @@ ISFGLProgram.prototype.createShader = function createShader(src, type) {
const compiled = this.gl.getShaderParameter(shader, this.gl.COMPILE_STATUS);
if (!compiled) {
const lastError = this.gl.getShaderInfoLog(shader);
throw new Error({
message: lastError,
type: "shader",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TimPietrusky Why do we not need a type here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants